From: David S. Miller Date: Sat, 9 Jul 2005 04:44:39 +0000 (-0700) Subject: [IPV6]: Fix warning in ip6_mc_msfilter. X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~51262 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi//%22https:/bugzilla.%22/%22http:/www.example.com/cgi/%22https:/bugzilla.%22?a=commitdiff_plain;h=9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d;p=linux-4.9.git [IPV6]: Fix warning in ip6_mc_msfilter. Signed-off-by: David S. Miller --- diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 398c982625f8..29fed6e58d0a 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -509,6 +509,7 @@ int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf) return -ENODEV; dev = idev->dev; + err = 0; if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) { leavegroup = 1; goto done;